package com.hhq.mapper;

import com.hhq.entity.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptMapper {
    public List<Dept> getAllDept();
    public List<Dept> findDeptByName(String name);
    public int addDept(Dept dept);
    public void  deleteDept(String name);
}
